package com.demo.caizi.telemetry.mockStrategy;

import uk.co.jemos.podam.common.AttributeStrategy;

import java.lang.annotation.Annotation;
import java.util.List;
import java.util.Random;
import java.util.concurrent.ThreadLocalRandom;

public class CompanyScaleStrategy implements AttributeStrategy<String> {

    private final String[] arrays ={"中型","小型","大型"};


    @Override
    public String getValue(Class<?> attrType, List<Annotation> attrAnnotations) {
        int index = ThreadLocalRandom.current().nextInt(0,3);
        return arrays[index];
    }
}
